package oa.hleast.xswl.pojo.domain.questionnaire;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.common.base.BaseEntity;

/**
 * @author: 302
 * @date: 2021-07-21 11:14:59
 * @description: 用户问卷问题表(QmsUserProblem)实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户问卷问题表实体类")
public class QmsUserProblem extends BaseEntity {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("问卷表ID")
    private Long questionnaireId;

    @ApiModelProperty("用户问卷表ID")
    private Long userQuestionnaireId;

    @ApiModelProperty("问题表ID")
    private Long problemId;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("问题")
    private String problem;

    @ApiModelProperty("题号")
    private Integer problemNumber;
    @TableLogic(value = "0", delval = "1")
    @ApiModelProperty("删除标识  (0未删除 1已删除)")
    private Integer deleted;


}
